package com.hnxxxy.workshop.service;


import com.hnxxxy.workshop.request.ProductPageRequest;
import com.hnxxxy.workshop.request.ProductRequest;
import com.hnxxxy.workshop.vo.ProductVO;

import java.util.Map;

/**
 * <p>
 * 产品 服务类
 * </p>
 *
 * @author zqh
 * @since 2022-05-09
 */
public interface ProductService {

    void add(ProductRequest productRequest);

    void deleteById(int id);

    void update(ProductRequest productRequest);

    ProductVO findByIdProduct(int id);

    Map<String, Object> page(ProductPageRequest productPageRequest);
}
